package com.bestcem.xm.user.dao;

import com.bestcem.xm.user.entity.pojo.WhitepaperSubscribeDO;

/**
 * @author zhangfeng <feng.zhang@idiaoyan.com>
 * @version v1.0
 * @date 2022/7/14 22:58
 */
public interface WhitepaperSubscribeDao {
    /**
     * 根据手机号查询单个预约信息
     *
     * @param phone
     * @return com.bestcem.xm.user.entity.pojo.WhitepaperSubscribeDO
     * @author zhangfeng <feng.zhang@idiaoyan.com>
     * @date 2022/7/14 23:15
     */
    WhitepaperSubscribeDO getOneByPhone(String phone);

    /**
     * 创建预约信息
     *
     * @param whitepaperSubscribeDO
     * @return java.lang.String
     * @author zhangfeng <feng.zhang@idiaoyan.com>
     * @date 2022/7/14 23:55
     */
    String insertSelective(WhitepaperSubscribeDO whitepaperSubscribeDO);
}
